package com.github.bean.config;

import com.github.bean.CaptchaConst;

/**
 * 常规图形验证码配置
 */
public class ImageCaptchaConfig {

    /**
     * 图片类型
     */
    private CaptchaConst.ImageFormat imageFormat;

    /**
     * 验证码类型
     */
    private CaptchaConst.StringType stringType;


    /**
     * * 图形验证码字体颜色
     */
    private String codeColor;

    /**
     * 图形验证码字体个数
     */
    private Integer codeCount;

    /**
     * 图片宽度
     */
    private Integer imageWidth;

    /**
     * 图片高度
     */
    private Integer imageHeight;


    /**
     * 字体大小
     */
    private Integer fontSize;

    /**
     * 字符间的粘合度
     */
    private Integer adhesion;

    /**
     * 左旋
     */
    private Integer leftRotation;

    /**
     * 右旋
     */
    private Integer rightRotation;


    public CaptchaConst.ImageFormat getImageFormat() {
        return imageFormat;
    }

    public void setImageFormat(CaptchaConst.ImageFormat imageFormat) {
        this.imageFormat = imageFormat;
    }


    public CaptchaConst.StringType getStringType() {
        return stringType;
    }

    public void setStringType(CaptchaConst.StringType stringType) {
        this.stringType = stringType;
    }

    public String getCodeColor() {
        return codeColor;
    }

    public void setCodeColor(String codeColor) {
        this.codeColor = codeColor;
    }

    public Integer getCodeCount() {
        return codeCount;
    }

    public void setCodeCount(Integer codeCount) {
        this.codeCount = codeCount;
    }


    public Integer getImageWidth() {
        return imageWidth;
    }

    public void setImageWidth(Integer imageWidth) {
        this.imageWidth = imageWidth;
    }

    public Integer getImageHeight() {
        return imageHeight;
    }

    public void setImageHeight(Integer imageHeight) {
        this.imageHeight = imageHeight;
    }

    public Integer getFontSize() {
        return fontSize;
    }

    public void setFontSize(Integer fontSize) {
        this.fontSize = fontSize;
    }

    public Integer getAdhesion() {
        return adhesion;
    }

    public void setAdhesion(Integer adhesion) {
        this.adhesion = adhesion;
    }

    public Integer getLeftRotation() {
        return leftRotation;
    }

    public void setLeftRotation(Integer leftRotation) {
        this.leftRotation = leftRotation;
    }

    public Integer getRightRotation() {
        return rightRotation;
    }

    public void setRightRotation(Integer rightRotation) {
        this.rightRotation = rightRotation;
    }
}
